package top.zackyoung.springboot.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import top.zackyoung.springboot.entity.base.JavaBaseEntity;

import javax.persistence.Entity;

/**
 * @author ZackYoung
 * @version 1.0
 * @description
 * @date 2021/5/16 10:03
 */
@EqualsAndHashCode(callSuper = true)
@Entity(name = "user")
@Data
@TableName("user")
public class JavaUser extends JavaBaseEntity<JavaUser> {
    private String username;
    private String email;

}
